package com.example.springjpa.pojo;

import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 杰哥
 * @Title: User
 * @ProjectName springjpa
 * @Description: TODO
 * @date 2019/8/99:04
 */
@Data
@Entity
@Table(name = "user")
public class User {
    @Id
    private int id;
    private String username;
    private String password;
    private String role;
    private String status;
}
